﻿<Window x:Class="AOUtils.Runner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:lib="clr-namespace:AOUtils.Libraries;assembly=Libraries"
    Title="AOTwinker" Height="600" Width="800" Loaded="Window_Loaded" Icon="/AOTwinker;component/Resources/Logo.jpg">
    <Window.Resources>
        
    </Window.Resources>
    <Grid Name="mainGrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="291"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="183"></ColumnDefinition>
            <ColumnDefinition Width="183"></ColumnDefinition>
            <ColumnDefinition Width="183"></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <lib:EquipmentGrid Grid.Column="0" Grid.Row="0" Name="clothingGrid">
            <Grid.Background>
                <ImageBrush Stretch="Uniform">
                    <ImageBrush.ImageSource>
                        <BitmapImage>
                            <BitmapImage.UriSource>
                                .\Resources\clothing.png
                            </BitmapImage.UriSource>
                        </BitmapImage>
                    </ImageBrush.ImageSource>
                </ImageBrush>
            </Grid.Background>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <lib:IconDockPanel lib:Slot="Neck"  Grid.Column="0" Grid.Row="0" Name="Neck" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightShoulder" Grid.Column="0" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightArm" Grid.Column="0" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightWrist" Grid.Column="0" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightFinger" Grid.Column="0" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Head" Grid.Column="1" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Chest" Grid.Column="1" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Hands" Grid.Column="1" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Legs" Grid.Column="1" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Feet" Grid.Column="1" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Back" Grid.Column="2" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftShoulder" Grid.Column="2" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftArm" Grid.Column="2" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftWrist" Grid.Column="2" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftFinger" Grid.Column="2" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
        </lib:EquipmentGrid>
        <lib:EquipmentGrid Grid.Column="1" Grid.Row="0" Name="weaponGrid">
            <Grid.Background>
                <ImageBrush Stretch="Uniform">
                    <ImageBrush.ImageSource>
                        <BitmapImage>
                            <BitmapImage.UriSource>
                                .\Resources\weapons.png
                            </BitmapImage.UriSource>
                        </BitmapImage>
                    </ImageBrush.ImageSource>
                </ImageBrush>
            </Grid.Background>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <lib:IconDockPanel lib:Slot="HUD1" Grid.Column="0" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="UTIL1" Grid.Column="0" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightHand" Grid.Column="0" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU1" Grid.Column="0" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU4" Grid.Column="0" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="HUD2" Grid.Column="1" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="UTIL2" Grid.Column="1" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="BELT" Grid.Column="1" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU2" Grid.Column="1" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU5" Grid.Column="1" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="HUD3" Grid.Column="2" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="UTIL3" Grid.Column="2" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftHand" Grid.Column="2" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU3" Grid.Column="2" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="NCU6" Grid.Column="2" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
        </lib:EquipmentGrid>
        <lib:EquipmentGrid Grid.Column="2" Grid.Row="0" Name="implantGrid">
            <Grid.Background>
                <ImageBrush Stretch="Uniform">
                    <ImageBrush.ImageSource>
                        <BitmapImage>
                            <BitmapImage.UriSource>
                                .\Resources\implants.png
                            </BitmapImage.UriSource>
                        </BitmapImage>
                    </ImageBrush.ImageSource>
                </ImageBrush>
            </Grid.Background>
            <Grid.RowDefinitions>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <lib:IconDockPanel lib:Slot="Eye" Grid.Column="0" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightArm" Grid.Column="0" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightWrist" Grid.Column="0" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="RightHand" Grid.Column="0" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <!--lib:IconDockPanel Grid.Column="0" Grid.Row="4"></lib:IconDockPanel-->
            <lib:IconDockPanel lib:Slot="Head" Grid.Column="1" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Chest" Grid.Column="1" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Waist" Grid.Column="1" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Legs" Grid.Column="1" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Feet" Grid.Column="1" Grid.Row="4" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="Ear" Grid.Column="2" Grid.Row="0" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftArm" Grid.Column="2" Grid.Row="1" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftWrist" Grid.Column="2" Grid.Row="2" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <lib:IconDockPanel lib:Slot="LeftHand" Grid.Column="2" Grid.Row="3" SelectedItemChangedHandler="SelectedItemChangedHandler"></lib:IconDockPanel>
            <!--lib:IconDockPanel Grid.Column="2" Grid.Row="4"></lib:IconDockPanel-->
        </lib:EquipmentGrid>
        <Button Grid.Column="3" Height="23" Margin="0,0,0,0" Name="searchButton" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="75.636" Click="searchButton_Click">Search</Button>
        <TextBox Grid.Row="1" Margin="0,0,0,10" Name="textBox1" Grid.ColumnSpan="4" FontFamily="Courier New" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" />
        <ProgressBar Grid.ColumnSpan="4" Grid.Row="1" Height="10" Margin="0,0,0,0" Name="progressBar" VerticalAlignment="Bottom" Value="0" ToolTip="stuff" />
        <Label Grid.Column="3" Height="28" Margin="0,4.1,0,0" Name="label1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75">Breed:</Label>
        <ComboBox SelectedIndex="0" Grid.Column="3" Height="23" Margin="76.25,4.1,0,0" Name="breedComboBox" VerticalAlignment="Top">
            <lib:Breed>Atrox</lib:Breed>
            <lib:Breed>Nanomage</lib:Breed>
            <lib:Breed>Opifex</lib:Breed>
            <lib:Breed>Solitus</lib:Breed>
        </ComboBox>
        <Label Grid.Column="3" Height="28" Margin="0,30.2,0,0" Name="label2" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75">Profession:</Label>
        <Label Height="28" HorizontalAlignment="Left" Margin="0,58.2,0,0" Name="label3" VerticalAlignment="Top" Width="75" Grid.Column="3">Faction:</Label>
        <ComboBox SelectedIndex="0" Grid.Column="3" Height="23" Margin="76.25,30.2,0,0" Name="professionComboBox" VerticalAlignment="Top">
            <lib:Professions>Adventurer</lib:Professions>
            <lib:Professions>Agent</lib:Professions>
            <lib:Professions>Bureaucrat</lib:Professions>
            <lib:Professions>Doctor</lib:Professions>
            <lib:Professions>Enforcer</lib:Professions>
            <lib:Professions>Engineer</lib:Professions>
            <lib:Professions>Fixer</lib:Professions>
            <lib:Professions>Keeper</lib:Professions>
            <lib:Professions>MartialArtist</lib:Professions>
            <lib:Professions>MetaPhysicist</lib:Professions>
            <lib:Professions>NanoTechnician</lib:Professions>
            <lib:Professions>Shade</lib:Professions>
            <lib:Professions>Soldier</lib:Professions>
            <lib:Professions>Trader</lib:Professions>
        </ComboBox>
        <ComboBox SelectedIndex="0" Grid.Column="3" Margin="76.25,58.2,0,0" Name="factionComboBox" Height="23.5" VerticalAlignment="Top">
            <lib:Faction>Clan</lib:Faction>
            <lib:Faction>Neutral</lib:Faction>
            <lib:Faction>Omni</lib:Faction>
        </ComboBox>
        <Label Grid.Column="3" Margin="0.636,120.5,0,142.5" Name="label4" HorizontalAlignment="Left" Width="75">Skill:</Label>
        <ListBox Grid.Column="3" Margin="76.25,120.5,0,0" Name="skillsListBox" />
        <Button Grid.Column="3" Height="23" HorizontalAlignment="Left" Margin="0,0,0,31.1" Name="clearButton" VerticalAlignment="Bottom" Width="75.636" Click="button2_Click">
            Clear
            <Button.ContextMenu>
                <ContextMenu>
                    <ContextMenu.Items>


                        <MenuItem Header="New">
                            <MenuItem.Icon>
                                <Image Source="Resources/0.gif"/>
                            </MenuItem.Icon>
                        </MenuItem>
                    </ContextMenu.Items>
                </ContextMenu>
            </Button.ContextMenu>
        </Button>
        <CheckBox Grid.Column="3" Height="16" Margin="76.25,96.3,0,0" Name="useSocialArmorCheckBox" VerticalAlignment="Top" FlowDirection="LeftToRight">Use social armor</CheckBox>
    </Grid>
</Window>
